package com.lyf.scm.admin.api.dto;

import com.lyf.scm.common.model.BaseSearchDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * description:
 *          直营预测计划---门店DTO
 * @author: haodong
 * @data: 2020/8/29 16:14
 */
@Data
@ApiModel("直营预测计划（门店）DTO")
public class DirectlyStoreDTO extends BaseSearchDTO {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("id集合")
    private List<Long> idList;

    @ApiModelProperty("系统预测量")
    private BigDecimal forecastQty;

    @ApiModelProperty("上次预测量")
    private BigDecimal lastForecastQty;

    @ApiModelProperty("计划制定日期")
    private Date formulateDate;

    /**
     * 分组参数
     */
    private String condition;

    private List<DirectlyStoreDTO> directlyList;

    @ApiModelProperty("确认量")
    private BigDecimal confirmQty;

    @ApiModelProperty("大品类code")
    private String priCategoryCode;

    @ApiModelProperty("中品类code")
    private String secCategoryCode;

    @ApiModelProperty("上次确认量")
    private BigDecimal lastConfirmQty;

    @ApiModelProperty("状态(0-待提交10-已暂存20-已提交30-已取消)")
    private Integer status;

    @ApiModelProperty("是否能修改(0-能修改10-不能修改)")
    private Integer updateStatus;

    @ApiModelProperty("商品编码")
    private String skuCode;

    @ApiModelProperty("商品名称")
    private String skuName;

    @ApiModelProperty("可用库存-实仓")
    private BigDecimal availableQty;

    @ApiModelProperty("商品分层")
    private String layeredCode;

    @ApiModelProperty("预测浮动比例")
    private String forecastFloatRate;

    @ApiModelProperty("预测浮动")
    private BigDecimal forecastFloat;

    @ApiModelProperty("预测确认差异")
    private BigDecimal forecastDifferConfirm;

    @ApiModelProperty("实际收货量")
    private BigDecimal actualReceiveQty;

    @ApiModelProperty("预测和确认差异比")
    private String forecastRateConfirm;

    @ApiModelProperty("历史7/14/28日总销量明细")
    private String salesSum71428;

    @ApiModelProperty("提交时间")
    private Date submitTime;

    @ApiModelProperty("省份code")
    private String provinceCode;

    @ApiModelProperty("城市code")
    private String cityCode;

    @ApiModelProperty("区/县code")
    private String countyCode;

    @ApiModelProperty("门店code")
    private String storeCode;

    @ApiModelProperty("实际销量")
    private BigDecimal actualSaleQty;
}
